package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.entity.AttendClassRecord;

import java.util.List;

/**
 *
 * AttendClassRecord 表数据服务层接口
 *
 */
public interface IAttendClassRecordService extends ISuperService<AttendClassRecord,Long> {

    List<AttendClassRecord> findStudentShiftAttendClassRecord(Long regId,List<Long> classLectureIds);

    void deleteShiftAttendClassRecord( List<Long> attendClassRecordIds );

    /**
    *@Description: 正常和调入的讲次
    *@Param: 
    *@return: 
    *@Author: lzh
    *@date: 
    */
    Integer countByClassLectureId(Long classLectureId);

    List<AttendClassRecord> findByRegIdClassLectureIds(Long regId, List<Long> classLectureIds);

    List<AttendClassRecord> findByRegIdsClassLectureIds(List<Long> regIds,List<Long> classLectureIds);

    List<AttendClassRecord> findAttendClassRecordByClassIds(List<Long> classIds);

    void clearFinalFlag(Long studentId, List<Long> longs);

    void setUpAttendClassRemark(Long attendClassRecordId,String remark);

    List<AttendClassRecord> findAttendClassRecordForConsume();
}